package com.ahuan.mapper;

import com.ahuan.domain.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface RoleMapper {
    List<Role> selectRoleList();

    Integer insertRole(@Param("role") Role role);

    Integer updateRole(@Param("role") Role role);

    Integer delete(String roleId);

//    List<Role> selectDeptList();
}
